﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace WebberCross.JavaScriptBridge.JSBridgeDemoApp
{
    [ServiceContract]
    public class DemoMessage
    {
        private string _message = "";
        private string _jsClientID = "";

        [DataMember]
        public string Message
        {
            get { return this._message; }
            set { this._message = value; }
        }

        [DataMember]
        public string JSClientID
        {
            get { return this._jsClientID; }
            set { this._jsClientID = value; }
        }

        // Default constructor for serialization
        public DemoMessage()
        {

        }

        public DemoMessage(string message, string jsClientID)
        {
            this._message = message;
            this._jsClientID = jsClientID;
        }
    }
}
